<script id="UserLoginFormScript" type="text/javascript">
//$(document).ready(function() {
//	// validate signup form on keyup and submit
//	var validator = $("#UserLoginForm").validate({
//		rules: {
//                        "data[User][email]":{required: true,email:true},
//                        "data[User][secure_password]":{required: true},
//                        terms: "required"
//		},
//		messages: {
//                      "data[User][code]": {required: "Please provide captcha code", remote: "Invalid captcha code"},
//			terms: " "
//		}
//	});
//
//
//
//});
</script>
<?php echo $this->Form->create('User',array("action"=>"login"));?>
			<div class="fields">
				<p class="sep error">
					<label class="small" for="user01">User name</label>					
                                        <?php echo $this->Form->input('email',array("div"=>false,"label"=>false,"class"=>"sText"));?>
				</p>

				<p class="sep">
					<label class="small" for="pass01">Password</label>					
                                        <?php echo $this->Form->input('password',array("div"=>false,"label"=>false,"type"=>"password","class"=>"sText")); ?>
				</p>

				<p class="rem">                                    
                                    <?php echo $this->Form->input('remember_me',array("div"=>false,'label'=>false,'type'=>'checkbox',"id"=>"check08", "class"=>"sCheck")); ?>
                                    <label for="check08">Remember me</label>
                                </p>

				<div class="action">					
					<?php echo $this->Form->button(__('Register', true),array("class"=>"butDef"));?>
                                        <?php echo $this->Form->submit(__('Login', true),array("div"=>false,"class"=>"butDef"));?>
				</div>
			</div>
<?php echo $this->Form->end();?>
